package Eqwe;

import java.util.Scanner;

public class Zuoye {
	/*public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int fen=8848;
		double h=0.01;
		int i=0;
		while (h<=fen) {
			i++;
			h=h*2;
		}
		System.out.println("折"+i+"次，厚度不低于珠穆朗玛峰");
	}*/
	
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int sum=0;
		int i=1;
		while (i<1000) {
			i++;
			if (i/7==0) {
				continue;
			}
			sum +=i;
			
		}
		System.out.println("1000以内不能被7整除的整数之和为："+sum);
	}
}
